package com.sevattal.common.base.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Sevattal
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JwtInfo {
    private String id;
    private String name;
    private List<String> roles;
    private String avatar;
    //权限、角色等
    //不要存敏感信息
}
